package com.we823.cms.model.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.we823.cms.model.BaseModelWithDate;

@Entity
@Table(name="sys_role")
public class Role extends BaseModelWithDate<Integer> {
	
	private static final long serialVersionUID = -8022791639281714634L;
	private String name;
	
	private String identity;
	@Column(name="indexUrl")
	private String index;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdentity() {
		return identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}
	
}
